package knapsackProblem;

public class Balance {
	private int cost;
	private int profit;

	public int getCost() {
		return cost;
	}
	public int getProfit() {
		return profit;
	}
	 public int getValue(){return profit - cost;}
	public Balance(int profit, int cost){this.profit = profit; this.cost = cost;}
	public Balance(){this(0,0);}
}
